package routers

import (
	"github.com/gin-gonic/gin"
	"shop-admin/controller"
)

func privateUser(router *gin.RouterGroup) {
	api := &controller.UserController{}
	userRouter := router.Group("/admin/user")
	{
		userRouter.GET("/page", api.Page)         //分页获取
		userRouter.GET("/info/:userId", api.Info) //获取信息
	}
}
